Information-processing apparatus, information-processing method, and program

ABSTRACT

An information-processing method performed in an information-processing apparatus, the information-processing apparatus performing wireless communication with a first apparatus and wire communication with a second apparatus, the information-processing method including the steps of:
         transmitting an interrupt signal to the second apparatus by using the wire communication when data is received from the first apparatus;   receiving, by using the wire communication, a clock signal from the second apparatus which receives the interrupt signal; and   transmitting and receiving, by using the wire communication, data between the information-processing apparatus and the second apparatus.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. application Ser. No.12/590,232, filed on Nov. 4, 2009, which claims the benefit of JapanesePatent Application No. P2008-309577, filed on Dec. 4, 2008, thedisclosures of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to an information-processing apparatus, aninformation-processing method, and a program. In addition, the inventionrelates to an information-processing apparatus using half-duplexcommunication, an information-processing method using half-duplexcommunication, and a program using half-duplex communication.

2. Description of the Related Art

Usually, apparatuses are connected to one another with a serialinterface, and data is transmitted and received through the serialinterface (see, for example, Japanese Unexamined Patent ApplicationPublication No. 2001-290764).

SUMMARY OF THE INVENTION

Usually transmission and reception of command data is necessary whendata is transmitted and received through a serial interface. In thiscase, since the data length of data to be transmitted and receivedincreases with the data length of the command data, the data-transferrate is deteriorated. In addition, a circuit or a program for analyzing(decoding) the command data may be necessary. It may be necessary forthe circuit or the program to be provided in both a transmittingapparatus and a receiving one. Therefore, since the circuit sizes or thememory sizes of the transmitting apparatuses and the receiving onesincrease with the size of a circuit or a program for generating anddecoding a command, downsizing of the apparatuses and reduction of powerconsumption thereof are prevented.

In view of the above-identified circumstances, it is therefore desirableto omit transmission and reception of a command data, to decrease datalength, and to reduce circuit size and power consumption. The omittedtransmission and reception of a command data results in reduction ofdata length when transmission and reception of data is performed betweenapparatuses connected to one another. In addition, a circuit or aprogram for analyzing (decoding) the command data may be reduced when acommand data is not transmitted and received.

According to an embodiment of the present invention, there is provided afirst information-processing apparatus including:

communication means configured to communicate with a reader/writer;

a module configured to control the communication means;

a processing means configured to transmit and receive data to and fromthe module, respectively;

an interrupt-signal output means configured to output an interruptsignal from the module to the processing means when the communicationreceives data from the reader/writer;

a clock-signal output means configured to output a clock signal from theprocessing means to the module when the interrupt signal is received;

a data output means configured to output data, in synchronization withthe clock signal, from the module to the processing means or from theprocessing means to the module; and

a switching-signal output means through which the processing meansoutputs a switching signal used for switching the direction of datatransmission and reception;

wherein the module outputs the interrupt signal, and transmitsdata-length data when the clock signal is received, the data-length dataindicating the data length of data to transmit to the processing means;and

the processing means counts the data length of data, the data beingtransmitted from the module by the data output means and received, afterthe data-length data indicating the data length is received, anddetermines the termination of data output from the module when the countvalue is equal to or greater than data length indicated by thedata-length data.

According to the first information-processing apparatus, the firstinformation-processing apparatus transmits an interrupt signal to anapparatus connected by using wire communication when data is receivedfrom another apparatus by using wireless communication. The apparatusreceiving the interrupt signal supplies a clock signal. After that, theapparatus receiving the data length of data determines that datareception is terminated, when the data length of received data reachesthe data length of data.

The data transmitted from the reader/writer includes a command, themodule analyzes the command when data is received from the reader/writerwith the communication means, and the interrupt-signal output meansoutputs the interrupt signal to the processing means in response to theanalysis result of the command analyzed by the module.

According to an embodiment of the present invention, there is provided asecond information-processing apparatus including:

a first line included in a predetermined interface and used fortransmitting an interrupt signal to a second apparatus connected byusing the interface when data is received from a first apparatus;

a second line included in the interface and used for receiving a clocksignal from the second apparatus; and

a third line included in the interface and used for transmitting andreceiving data between the second information-processing apparatus andthe second apparatus.

The data transmitted from the first apparatus includes a command, thecommand is analyzed when data is received from the first apparatus, andthe interrupt signal is transmitted to the second apparatus in responseto the analysis result of the command.

The clock signal is received from the second apparatus through thesecond line after the interrupt signal is transmitted to the secondapparatus through the first line, and the data length of data istransmitted to the second apparatus through the third line after theclock signal is received, the data being transmitted to the secondapparatus through the third line in synchronization with the clocksignal.

The second information-processing apparatus further includes a fourthline included in the interface and used for receiving a signal whichindicates whether data is transmitted to or received from the secondapparatus.

On the basis of the changeover in the state of the signal transmittedthrough the fourth line, it is detected that data is transmitted fromthe second apparatus and it is detected that data transmission from thesecond apparatus is terminated.

According to an embodiment of the present invention, there is provided arecording medium storing a first computer readable program configured tocause an information-processing apparatus to execute processing, theinformation-processing apparatus performing wireless communication witha first apparatus and wire communication with a second apparatus, thecomputer readable program including the steps of:

transmitting an interrupt signal to the second apparatus by using thewire communication when data is received from the first apparatus;

receiving, by using the wire communication, a clock signal from thesecond apparatus when the interrupt signal is received; and

transmitting and receiving, by using the wire communication, databetween the information-processing apparatus and the second apparatus.

According to the second information-processing apparatus and therecording medium storing the first computer readable program, aninterrupt signal is transmitted by using wire communication when data isreceived from another apparatus by using wireless communication. Then,in response to the transmitted interrupt signal, a clock signal isreceived.

According to an embodiment of the present invention, there is provided athird information-processing apparatus including:

a first line included in a predetermined interface and used forreceiving an interrupt signal from a second apparatus connected by usingthe interface when the second apparatus receives data from a firstapparatus;

a second line included in the interface and used for transmitting aclock signal to the second apparatus; and

a third line included in the interface and used for transmitting andreceiving data between the third information-processing apparatus andthe second apparatus.

According to the third information-processing apparatus, the clocksignal is transmitted to the second apparatus through the second lineafter the interrupt signal is received from the second apparatus throughthe first line;

data-length data indicating the data length of data is received from thesecond apparatus through the third line after the clock signal istransmitted, the latter data being transmitted from the second apparatusthrough the third line in synchronization with the clock signal; and

the data length of data, the data being transmitted from the secondapparatus, is counted after the data-length data is received, and thetermination of data transmission from the second apparatus is determinedwhen the count value is equal to or greater than data length indicatedby the data-length data.

The third information-processing apparatus further includes a fourthline included in the interface and used for transmitting a signal to thesecond apparatus, the signal indicating whether data is transmitted toor received from the second apparatus.

On the basis of the changeover in the state of the signal transmittedthrough the fourth line, it is detected that data is transmitted to thesecond apparatus or data transmission thereto is terminated.

According to an embodiment of the present invention, there is provided arecording medium storing a second computer readable program configuredto cause an information-processing apparatus to execute processing, theinformation-processing apparatus performing wireless communication witha first apparatus and wire communication with a second apparatus, thecomputer readable program including the steps of:

receiving an interrupt signal from the second apparatus by using thewire communication when the second apparatus receives data from thefirst apparatus;

transmitting, by using the wire communication, a clock signal to thesecond apparatus when the interrupt signal is received; and

transmitting and receiving, by using the wire communication, databetween the information-processing apparatus and the second apparatus.

According to the third information-processing apparatus and therecording medium storing the second computer readable program, aninterrupt signal is received from the apparatus connected by using wirecommunication when data is received from another apparatus by usingwireless communication. Then, in response to the received interruptsignal, a clock signal is transmitted.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating a configuration example of a systemaccording to an embodiment of the present invention;

FIG. 2 is a diagram illustrating the operation of the system;

FIGS. 3A to 3D are diagrams illustrating data structure;

FIG. 4 is a diagram illustrating timing of data transmission andreception;

FIG. 5 is a diagram illustrating timing of data transmission andreception;

FIG. 6 is a diagram illustrating timing of data transmission andreception;

FIG. 7 is a diagram illustrating timing of data transmission andreception;

FIG. 8 is a flowchart illustrating the process performed in an RFIDmodule;

FIG. 9 is a flowchart illustrating the process performed in a host CPU;and

FIG. 10 is a diagram illustrating a recording medium.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Hereinafter, preferred embodiments of the present invention will bedescribed with reference to figures.

System Configuration

FIG. 1 is a diagram showing a configuration of a system according to anembodiment of the present invention. The system shown in FIG. 1 includesa reader/writer 11 and an RFID-incorporated apparatus 12. RFID is anabbreviation of “Radio Frequency Identification”. In RFID, by usingnear-field wireless communication based on electromagnetic fields orradio waves, information is transmitted to and received from a tagembedded with ID information.

The reader/writer 11 includes an RF antenna 21, and theRFID-incorporated apparatus 12 includes an RF antenna 31. Thereader/writer 11 and the RFID-incorporated apparatus 12 communicate witheach other by using the RF antenna 21 and the RF antenna 31.

The RFID-incorporated apparatus 12 includes an RFID module 32 and a hostCPU (Central Processing Unit) 34. The RFID module 32 controlscommunication with the reader/writer 11 through the RF antenna 31. Then,the RFID module 32 communicates with the host CPU 34. In addition, theRFID module 32 includes a memory section 33 such as a RAM (Random AccessMemory), a register, or a nonvolatile memory. Then, the RFID module 32temporarily stores data, transmitted from the reader/writer 11 or thehost CPU 34, in the memory section 33.

The RFID module 32 and the host CPU 34 are connected to each other byusing wire communication configured to include four lines. First, thewire communication includes a CLK line 41 used for supplying a clocksignal from the host CPU 34 to the RFID module 32 and an interactiveDATA line 42 used for transmitting and receiving data between the RFIDmodule 32 and the host CPU 34. In addition, the wire communicationincludes a SEL line 43 used for supplying, from the host CPU 34 to theRFID module 32, an instruction expressing the direction of data transferand an IRQ line 44 used for supplying, from the RFID module 32 to thehost CPU 34, an instruction expressing an interrupt.

However, while the RFID-incorporated apparatus 12 may include the RFIDmodule 32 and the host CPU 34 as shown in FIG. 1, the RFID module 32 andthe host CPU 34 may be separately provided. For example, the RFID module32 and the host CPU 34 are connected to each other by using apredetermined interface, and the RFID module 32 is detachable from anapparatus including the host CPU 34.

In the case that the RFID module 32 is detachable, the apparatus,including the host CPU 34 and having no function to communicate with thereader/writer 11, can communicate with the reader/writer 11 when theRFID module 32 is attached to the apparatus, for example. In this way,data stored in the apparatus including the host CPU 34 can be suppliedto the reader/writer 11 when the RFID module 32 is attached asnecessary, for example.

As described below, the RFID-incorporated apparatus 12 including theRFID module 32 and the host CPU 34 as shown in FIG. 1 will be describedas an example.

Process Relating to Data Transmission and Reception

In the system shown in FIG. 1, the reader/writer 11 and theRFID-incorporated apparatus 12 communicate with each other by usingwireless communication, and the RFID module 32 and the host CPU 34communicate with each other by using wire communication. An example ofcommunication will be described with reference to FIG. 2. A processrelating to communication will be briefly described with reference toFIG. 2 and, after that, be described in detail with reference to FIGS. 4to 7.

In Step S11, data is transmitted from the host CPU 34 to the RFID module32. For example, the data is initial data. Fractional amounts of thedata divided by a predetermined unit are transmitted more than once. InStep S31, the RFID module 32 receives, more than once, data transmittedfrom the host CPU 34. The data is transmitted through the DATA line 42.Then, the data transmission starts when the host CPU 34 is ready.

When the host CPU 34 finishes transmitting data scheduled to betransmitted, the host CPU 34 sends a notice of data-transmissioncompletion to the RFID module 32 through the SEL line 43. In Step S32,the RFID module 32 receives the notice of data-transmission completionfrom the host CPU 34. At this time, the RFID module 32 detects the riseof a SEL signal transmitted through the SEL line 43. In this way, datatransmission from the host CPU 34 to the RFID module 32 is performed.

In Step S61, the reader/writer 11 sends a polling request. In the basicoperation of the reader/writer 11, when, on the basis of the pollingresult, the reader/writer 11 detects an apparatus which is located nearand capable of communicating, in this case, the RFID-incorporatedapparatus 12, the reader/writer 11 starts communication with thedetected apparatus.

The RFID module 32 included in the RFID-incorporated apparatus 12receives the polling request from the reader/writer 11 in Step S33 andsends a polling response in Step S34. The reader/writer 11 receives thepolling response in Step S62 and sends a command request in Step S63. InStep S35, the RFID module 32 receives the command request.

When the RFID module 32 receives the command request, the RFID module 32stores a necessary portion of the received command request in the memorysection 33, the portion including “Length” and “DATA”. In this case, the“Length” refers to the data length of the “DATA”, and the “DATA” refersto the main part of the data.

Then, in Step S36, the RFID module 32 sends a notice of data receptionto the host CPU 34 through the IRQ line 44. Namely, the RFID module 32sends an interrupt signal to the host CPU 34. After that, in Step S37,when the host CPU 34 is ready, the RFID module 32 reads out the “Length”and the “DATA” from the memory section 33 in synchronization with theclock signal supplied by the host CPU through the CLK line 41. Then, theRFID module 32 transmits, more than once, fractional amounts of the datadivided by a predetermined unit to the host CPU 34 through the DATA line42.

In Step S14, the host CPU 34 receives the “Length” and the “DATA”transmitted more than once from the RFID module 32. Then, the transferis terminated.

The command request transmitted from the reader/writer 11 in Step S63(the command request received by the RFID module 32 in Step S35) and thedata transmitted from the RFID module 32 to the host CPU 34 in Step S37(the data received by the host CPU 34 from the RFID module 32 in StepS14) will be described with reference to FIGS. 3A to 3D.

A command request 71 includes data 72 indicating the “Length”, data 73including a command code, data 74 including the “DATA” as the main partof the data, and data 75 including CRC (Cyclic Redundancy Checking).

The command request 71 is transmitted and received between thereader/writer 11 and the RFID module 32. When the RFID module 32receives the command request 71, the RFID module 32 analyzes a dataportion including the data 73, that is, a command code. When, on thebasis of an analysis result of the command code, it is determined thattransmission of data 74 (DATA) to the host CPU 34 is necessary, the RFIDmodule 32 transmits data as shown in FIG. 3B to the host CPU 34.

Namely, the data 72 and the data 74 are transmitted from the RFID module32 to the host CPU 34. As described above, first in Step S37, the data72, the “Length”, indicating the data length of the data 74 istransmitted from the RFID module 32 to the host CPU 34. Then, the data74, the main part of the data, is transmitted.

In this way, the data transmitted from the reader/writer 11 is dataincluding a command. Then, the RFID module 32 analyzes the commandincluded in the received data and transmits (transfers) the main part ofthe data to the host CPU 34 on the basis of the analysis result.Therefore, when, on the basis of the analysis result, it is determinedthat transmission of the main part of the data to the host CPU 34 is notnecessary, the main part of the data is not transferred to the host CPU34, as the case may be. In this way, since the host CPU 34 avoids theanalysis of the command included in the command request transmitted fromthe reader/writer 11, a circuit or a program used for the analysis maybe reduced in size.

In addition, since the “Length” and the “DATA” are transferred exceptfor the command, the data length of all data transferred is reduced.Therefore, when the transfer rate of a communication channel is low, theamount of time necessary for transmitting and receiving data is reduced.In addition, as described below, since the data 72, corresponding to the“Length”, is transmitted and received, transmission of a command fromthe RFID module 32 to the host CPU 34 is avoided. This is the reasonthat transfer efficiency is increased.

As shown in FIG. 2, when the host CPU 34 sends, to the RFID module 32, areply in response to a command response, the host CPU 34 switches thestatus of the SEL signal transmitted through the SEL line 43 from H(High) to L (Low) and switches the transfer direction of the DATA line42 to a direction in which data is transferred from the host CPU 34 tothe RFID module 32.

Then, in Step S15, data is transmitted from the host CPU 34 to the RFIDmodule 32. When the host CPU 34 is ready, the host CPU 34 transmits datato the RFID module 32 through the DATA line 42, the transmission of databeing more than once and in synchronization with the clock signalsupplied by the host CPU through the CLK line 41. In Step S38, the RFIDmodule 32 receives the data. The RFID module 32 stores the received datain the memory section 33 as necessary.

Then, when the transmission of data is terminated, the host CPU 34switches the status of the SEL signal transmitted through the SEL line43 from L (Low) to H (High) and sends a notice of data-transmissioncompletion to the RFID module 32. In Step S39, the RFID module 32receives the notice of data-transmission completion from the host CPU34. At this time, the RFID module 32 detects the rise of the SEL signaltransmitted through the SEL line 43. In this way, data transmission fromthe host CPU 34 to the RFID module 32 is performed.

When the RFID module 32 receives the notice of data-transmissioncompletion, in Step S40 the RFID module 32 reads out the data stored inthe memory section 33, adds necessary information to the data, and sendsa command response (the read out data) to the reader/writer 11. In StepS64, the reader/writer 11 receives the command response from the RFIDmodule 32.

The data transmitted from the host CPU 34 to the RFID module 32 in StepS15 (the data received by the RFID module 32 from the host CPU 34 inStep S38) and the command response transmitted from the RFID module 32to the reader/writer 11 in Step S40 (the command response received bythe reader/writer 11 from the RFID module 32 in Step S64) will bedescribed with reference to FIGS. 3A to 3D.

As shown in FIG. 3C, the “DATA” which the host CPU 34 is scheduled totransmit to the RFID module 32 corresponds to data 81. Content which thehost CPU 34 is scheduled to transmit to the reader/writer 11 as acommand response is described in the data 81.

When the RFID module 32 receives the data 81, the RFID module 32generates a command response 82 as shown in FIG. 3D and transmits thecommand response 82 to the reader/writer 11. Namely, the command request82 includes data 83 indicating the “Length”, data 84 including a commandcode, data 81 including the “DATA” as the main part of the data, anddata 85 including CRC (Cyclic Redundancy Checking).

Namely, the RFID module 32 generates the command response 82 by adding,to the data 81, the data 83 corresponding to “Length”, the data 84including a command code, and the data 85 including CRC. The data 83indicates the data length of the data 81, and the command code instructsthe reader/writer 11 on the content of a process. The command response82 is transmitted and received between the reader/writer 11 and the RFIDmodule 32.

The data 81 may include the “Length”. Namely, when the host CPU 34supplies the data 81, the “Length” data included in the data 81 may besupplied to the RFID module 32. In this case, the “Length” data includedin the data 81 may be extracted in the RFID module 32 and be supplied tothe command response 82 as the data 83.

In this way, since the RFID module 32 adds a command code to the data 81transmitted from the host CPU 34, the host CPU 34 does not recognize acommand for the reader/writer 11. Therefore, a circuit or a program usedfor the recognition may be reduced in size.

Then, since data transmitted from the host CPU 34 to the RFID module 32is only the data 81, the data length of all data transmitted is reduced.Therefore, when the transfer rate of a communication channel is low, theamount of time necessary for transmitting and receiving data is reduced.

Then, the communication between the reader/writer 11 and the RFID module32 is performed by using wireless communication. Therefore, even thoughthe communication channel is relatively unstable, data transmission andreception are correctly performed by adding the data 75 (the data 85)including CRC to data to transmit and receive. Compared with thewireless communication, the communication between the RFID module 32 andthe host CPU 34 is performed by using wire communication. Therefore,since the communication channel is relatively stable, data transmissionand reception are performed by adding no data including CRC. Even thoughdata transmission and reception are accomplished during a relativelyshort period of time such as contact time in a system in whichcontactless communication is performed, data transmission and receptionare robustly performed with the well-controlled communication mentionedabove.

In this way, the communication between the reader/writer 11 and theRFID-incorporated apparatus 12 is performed. Then, in this way, thecommunication between the RFID module 32 and the host CPU 34 isperformed. In addition, the communication between the RFID module 32 andthe host CPU 34 will be further described.

As described below, four patterns may be applied to the communicationbetween the RFID module 32 and the host CPU 34. Namely, in the firstpattern, data transmission from the RFID module 32 to the host CPU 34 isperformed and terminated. In the second pattern, data transmission fromthe host CPU 34 to the RFID module 32 is performed and terminated.

In the third pattern, data transmission from the RFID module 32 to thehost CPU 34 is performed and, after that, data transmission from thehost CPU 34 to the RFID module 32 is performed and terminated. In thefourth pattern, data transmission from the host CPU 34 to the RFIDmodule 32 is performed and, after that, data transmission from the RFIDmodule 32 to the host CPU 34 is performed and terminated. The fourpatterns will be described below.

First Pattern

The first pattern will be described with reference to FIG. 4. The firstpattern is a process related to the communication between the RFIDmodule 32 and the host CPU 34, in which data transmission from the RFIDmodule 32 to the host CPU 34 is performed and terminated. For example,the communication is performed when a command request from thereader/writer 11 is received.

When the RFID module 32 receives, for example, a command request fromthe reader/writer 11 at timing t1, the RFID module 32 sends an IRQsignal to the host CPU 34 through the IRQ line 44. In this way, when theRFID module 32 is scheduled to supply data to the host CPU 34, the RFIDmodule 32 sends the IRQ signal (an interrupt signal) to the host CPU 34through the IRQ line 44.

If the host CPU 34 receives the IRQ signal, the host CPU 34 supplies aclock signal to the RFID module 32 through the CLK line 41 when, attiming t2, the host CPU 34 is ready for receiving the data. When theRFID module 32 receives the clock signal, the RFID module 32 transmitsthe data in synchronization with the clock signal.

The first data which the RFID module 32 sends to the host CPU 34 is“Length” indicating the data length of data. After the “Length” istransferred, data such as a command from the reader/writer 11 istransferred. Therefore, the “Length” indicates the data length of datatransferred (transmitted) after the “Length”.

By receiving the “Length”, the host CPU recognizes the data length ofthe transferred data. Then, by recognizing the data length of thetransferred data, the host CPU can determine whether or not datatransfer is terminated. Namely, after receiving the “Length”, the hostCPU starts counting the data length of the transferred data (receiveddata). Then, the host CPU detects the termination of data transfer whena count value corresponding to counted data length is equal to orgreater than data length indicated by the “Length”.

In this way, transmitting, from the RFID module 32 to the host CPU 34, acommand indicating the termination of data transfer is avoided bydetecting the termination of data transfer. Therefore, the data lengthof data used for transmitting the command is reduced. In addition, sincea circuit or a program for generating or analyzing the command data maybe unnecessary, the size of a circuit or memory size may be reduced.Therefore, reduction of power consumption may be realized.

When data is transmitted from the RFID module 32 to the host CPU 34 inthis way, an H (High) state of a signal communicated through the SELline 43 is retained. The signal communicated through the SEL line 43 hastwo states, H (High) and L (Low). The H (High) state of the signalcommunicated through the SEL line 43 indicates a state in which data istransmitted from the REID module 32 to the host CPU 34. Then, the L(Low) state of the signal communicated through the SEL line 43 indicatesa state in which data is transmitted from the host CPU 34 to the REIDmodule 32.

Namely, the signal communicated through the SEL line 43 indicates thedirection of data transmission. Then, the direction of data transmissionin the communication between the REID module 32 and the host CPU 34 isswitched by switching the state of the signal communicated through theSEL line 43. In this case, in the H (High) state of the signalcommunicated through the SEL line 43, data is transmitted from the RFIDmodule 32 to the host CPU 34, and in the L (Low) state of the signalcommunicated through the SEL line 43, data is transmitted from the hostCPU 34 to the REID module 32. Then, descriptions, as below, relating todata communication are based on the above condition. Instead, anopposite condition may be set up. The opposite condition is that data istransmitted from the REID module 32 to the host CPU 34 in the L (Low)state of the SEL line 43 and data is transmitted from the host CPU 34 tothe REID module 32 in the H (High) state of the SEL line 43.

Second Pattern

Next, communication in the second pattern will be described withreference to FIG. 5. In the second pattern, data transmission from thehost CPU 34 to the REID module 32 is performed and terminated.

When the host CPU 34 is scheduled to transmit data to the RFID module 32at timing t1, the host CPU 34 switches the state of the signalcommunicated through the SEL line 43 from H (high) to L (Low). Then, inthis case, usually (in a standby state) the state of the SEL line 43 isset to the H (high) state. This is because the H (High) state means thatdata transmission from the REID module 32 to the host CPU 34 can beperformed and the host CPU 34 is maintained in a state in which aninterrupt signal (IRQ signal) from the RFID module 32 can be received.

The host CPU 34 switches the state of the signal communicated throughthe SEL line 43 from H (High) to L (Low) and the RFID module 32 detectsthe switching of the state. Accordingly, the RFID module 32 detectsscheduled data transmission from the host CPU 34. Then, the RFID module32 transits to a state in which data from the host CPU 34 can bereceived.

When the host CPU 34 is ready after switching the state of the signalcommunicated through the SEL line 43 from H (High) to L (Low), the hostCPU 34 transmits, to the RFID module 32, a clock signal through the CLKline 41 and data through the DATA line 42, the transmission of databeing in synchronization with the clock signal. When data is transmittedfrom the host CPU 34 to the RFID module 32, data itself is transmittedfrom the beginning and no data indicating data length such as the“Length” is transmitted. This is because the termination of datatransmission from the host CPU 34 is not determined in the RFID module32.

As shown in FIG. 5, this is because the host CPU 34 transmits data whilecounting data length of the data and switches the state of the signalcommunicated through the SEL line 43 from L (Low) to H (High) at timingt2 at which data transmission is terminated. When the state of thesignal communicated through the SEL line 43 is switched from L (Low) toH (High), the RFID module 32 detects the switching of the state.Accordingly, the RFID module 32 detects the termination of datatransmission from the host CPU 34.

In this way, when data is transmitted from the host CPU 34 to the RFIDmodule 32, data such as the “Length” is not transmitted and received.Accordingly, data length of transmitted and received data can bereduced. In addition, according to an embodiment of the presentinvention, the RFID module 32 does not transmit and receive a commandwhich is transmitted and received in the communication of the relatedart, when data transmission is started or terminated. Accordingly, sincea circuit or a program for generating or analyzing the command data maybe unnecessary for the RFID module 32, the size of a circuit or memorysize may be reduced. Therefore, reduction of power consumption may berealized.

Third Pattern

Next, communication in the third pattern will be described withreference to FIG. 6. In the third pattern, data transmission from theRFID module 32 to the host CPU 34 is performed, and, after that, datatransmission from the host CPU 34 to the RFID module 32 is performed andterminated. In the communication in the third pattern, the communicationin the first pattern and the communication in the second pattern aresequentially performed in this order. In addition, for example, thecommunication in the third pattern is performed when a command requestis received from the reader/writer 11 and a command response is sent inresponse to the command request.

For example, when the RFID module 32 receives the command request fromthe reader/writer 11 at timing t1, the RFID module 32 stores a necessaryportion of the received command request in the memory section 33, theportion including “Length” and “DATA”. Then, the RFID module 32transmits an IRQ signal to the host CPU 34 through the IRQ line 44. Ifthe host CPU 34 receives the IRQ signal, the host CPU 34 supplies aclock signal to the RFID module 32 through the CLK line 41 when, attiming t2, the host CPU 34 is ready for receiving data. When the RFIDmodule 32 receives the clock signal, the RFID module 32 transmits data,such as the “Length” indicating data length, to the host CPU 34 insynchronization with the clock signal.

When the host CPU 34 receives the “Length”, the host CPU 34 recognizesthe data length of transferred data and starts counting the data lengthof data transferred afterward (the data length of received data). Then,the host CPU detects the termination of data transfer when a count valuecorresponding to the counted data length is equal to data lengthindicated by the “Length”. In response to the detection, the host CPUswitches the state of a signal communicated through the SEL line 43 fromH (High) to L (Low) at timing t3.

Then, when the host CPU 34 is ready after switching the state of thesignal communicated through the SEL line 43 from H (High) to L (Low),the host CPU 34 transmits, to the RFID module 32, the clock signalthrough the CLK line 41 and data through the DATA line 42, thetransmission of data being in synchronization with the clock signal. Forexample, the host CPU 34 arranges a reply (data) in response to thecommand, transferred from the RFID module 32, of the reader/writer 11.Then, when the host CPU 34 is ready for transmission, the host CPU 34transmits the reply through the DATA line 42 in synchronization with theclock signal.

When the host CPU 34 terminates the data transmission at timing t4, thehost CPU 34 returns the state of the signal communicated through the SELline 43 from L (Low) to H (High). Accordingly, the RFID module 32detects the termination of data transmission from the host CPU 34. Afterthat, as necessary, the RFID module 32 adds necessary information to thedata transmitted from the host CPU 34 and transmits a command responseto the reader/writer 11.

Fourth Pattern

Next, communication in the fourth pattern will be described withreference to FIG. 7. In the fourth pattern, data transmission from thehost CPU 34 to the RFID module 32 is performed, and, after that, datatransmission from the RFID module 32 to the host CPU 34 is performed andterminated. In the communication in the fourth pattern, thecommunication in the second pattern and the communication in the firstpattern are sequentially performed in this order.

When the host CPU 34 is scheduled to transmit data to the RFID module 32at timing t1, the host CPU 34 switches the state of a signalcommunicated through the SEL line 43 from H (high) to L (Low). The RFIDmodule 32 detects the switching of the state of the signal communicatedthrough the SEL line 43. Accordingly, the RFID module 32 detectsscheduled data transmission from the host CPU 34. Then, the RFID module32 transits to a state in which data from the host CPU 34 can bereceived.

When the host CPU 34 is ready after switching the state of the signalcommunicated through the SEL line 43 from H (High) to L (Low), the hostCPU 34 transmits, to the RFID module 32, a clock signal through the CLKline 41 and data through the DATA line 42, the transmission of databeing in synchronization with the clock signal. When all data istransmitted, the host CPU 34 returns the state of the signalcommunicated through the SEL line 43 from L (Low) to H (High) at timingt2. Accordingly, the RFID module 32 detects the termination of datatransmission from the host CPU 34.

When the RFID module 32 transmits data to the host CPU 34 at a timepoint later than the timing t2, the RFID module 32 sends an IRQ signalto the host CPU 34 through the IRQ line 44. If the host CPU 34 receivesthe IRQ signal, the host CPU 34 supplies the clock signal to the RFIDmodule 32 through the CLK line 41 when the host CPU 34 is ready forreceiving data. When the RFID module 32 receives the clock signal, theRFID module 32 outputs data in synchronization with the clock signal.

The RFID module 32 transmits data, such as “Length” indicating the datalength of data, to the host CPU 34. Then, The RFID module 32 transmitsdata scheduled to be transmitted. After receiving the “Length”, the hostCPU starts counting the data length of the transmitted data (receiveddata). Then, the host CPU detects the termination of data transfer whena count value corresponding to the counted data length is equal to orgreater than data length indicated by the “Length”. After detecting thetermination of data transfer, the host CPU detects stops supplying theclock signal to the RFID module 32.

In this way, in any pattern, since the host CPU 34 controls the startand termination of communication, the RFID module 32 and the host CPU 34avoid sending forth a command used for instructing the start andtermination of communication. Therefore, data length may be reduced whena command data is omitted.

Namely, the start of communication is detected, if the host CPU 34receives the IRQ signal or if the host CPU 34 switches the state of thesignal communicated through the SEL line 43 from H (High) to L (Low) andsupplies the clock signal through the CLK line 41. However, since thestart of communication is not performed by transmission and reception ofa command code, the omitted command data may result in reduction of datalength.

Then, the termination of communication is detected, if the host CPU 34determines the termination on the basis of the “Length” from the RFIDmodule 32, the “Length” being data relating to data length, or if thehost CPU 34 switches the state of the signal communicated through theSEL line 43 from L (Low) to H (High). However, since the termination ofcommunication is not performed by transmission and reception of acommand code, the omitted command data may result in reduction of datalength.

In addition, since a command code is not used, a function for generatingor analyzing the command code may be omitted. Accordingly, in the RFIDmodule 32 and the host CPU 34, the size of a circuit or memory size maybe reduced and reduction of power consumption may be realized.

Furthermore, the above-mentioned communication may be realized with nointerface including an added signal line. Namely, the interrupt signal(IRQ signal) is used as a substitute for a signal line used for startingdata transmission, the data-transmission-direction signal line (SELline) is used as a substitute for a signal line used for terminatingdata transmission, and data length is appended to the leading portion ofdata transmitted from the RFID module 32 (Slave) to the host CPU 34(Master). The configuration realizes the above-mentioned communication.Therefore, a command code and decoding circuit used for analyzing thecommand code may be omitted with no signal line added to an interface.Therefore, according to an embodiment of the present invention, it maybe expected that transfer efficiency is increased by reducing the amountof data, circuit size is reduced by reducing an encoding circuit and adecoding circuit or memory size, and power consumption is reduced.

Process in RFID Module 32

Next, the RFID module 32 being focused on, a process relating to theabove-mentioned communication the RFID module 32 performs will bedescribed. FIG. 8 is a flowchart illustrating the process in the RFIDmodule 32.

In Step S101, the RFID module 32 determines whether or not a commandrequest is received from the reader/writer 11. In this case, it issupposed that a trigger starting data communication from the RFID module32 to the host CPU 34 is reception of the command request from thereader/writer 11. Therefore, descriptions, as below, relating to theprocess is based on the above condition that, in Step S101, the RFIDmodule 32 determines whether or not the command request is received fromthe reader/writer 11. However, since other trigger may be adopted, theprocess in Step S101 is a process in which occurrence of such a triggeris determined.

When in Step S101 the RFID module 32 determines that the command requestis received from the reader/writer 11, the process proceeds to StepS102. In Step S102, the received polling command is analyzed, and“Length” and “DATA” as an analysis result are stored in the memorysection 33 as necessary. Namely, as described with reference to FIG. 3,the command request 71 including the data 72 to the data 75 is receivedand a command code included in the data 73 is analyzed. Then, inresponse to the analysis result, the “Length” included in the data 72and the “DATA” included in the data 74 are stored in the memory section33.

In addition, while the RFID module 32 does not analyze a command incommunication between the RFID module 32 and the host CPU 34, the RFIDmodule 32 analyzes a command from the reader/writer 11 in communicationbetween the RFID module 32 and the reader/writer 11. The RFID module 32analyzes the command from the reader/writer 11 and, in response to theanalysis result, the RFID module 32 may perform communication betweenthe RFID module 32 and the host CPU 34.

In addition the RFID module 32 may simply transfer the command from thereader/writer 11 to the host CPU 34 while the RFID module 32 does notanalyze the command from the reader/writer 11.

While the analysis and the storing are performed, in Step S103 the RFIDmodule 32 outputs an IRQ signal (an interrupt signal) to the host CPU 34through the IRQ line 44. Then, when the host CPU 34 starts supplying aclock signal through the CLK line 41 in response to the interruptsignal, the RFID module 32 outputs the “Length” in Step S104. Forexample, the RFID module 32 supplies the data length of a command as the“Length” to the host CPU 34, the data length being stored in the memorysection 33.

After the “Length” is output, in Step S105 the RFID module 32 transmitsdata, which is to be supplied to the host CPU 34, through the DATA line42, the data being in synchronization with the supplied clock signal.Namely, data including the data 72 and the data 74 as shown in FIG. 3Bis transmitted from the RFID module 32 to the host CPU 34. Since theRFID module 32 transmits data with no determination of whether or notdata transmission is terminated, the RFID module 32 may proceed to anext process after data transmission is terminated.

After the data transmission is terminated or when, in Step S101, it isdetermined that no command request is received, the process proceeds toStep S106. The process from Step S101 through Step S105 as describedabove is a process in which the first patter is realized.

In Step S106, the RFID module 32 determines whether or not it isdetected that the state of the signal communicated through the SEL line43 is switched from H (High) to L (Low). When in Step S106 the RFIDmodule 32 determines that it is not detected that the state of thesignal communicated through the SEL line 43 is switched from H (High) toL (Low), the process returns to Step S101 and the following process isrepeated. On the other hand, when in Step S106 the RFID module 32determines that it is detected that the state of the signal communicatedthrough the SEL line 43 is switched from H (High) to L (Low), theprocess proceeds to Step S107.

In Step S107, data transmitted from the host CPU 34 in synchronizationwith the clock signal (for example, the data 81 shown in FIG. 3C) isreceived and stored in the memory section 33 as necessary. In Step S108,the RFID module 32 determines whether or not it is detected that thestate of the signal communicated through the SEL line 43 is switchedfrom L (Low) to H (High). When in Step S108 the RFID module 32determines that it is not detected that the state of the signalcommunicated through the SEL line 43 is switched from L (Low) to H(High), that is, when the host CPU 34 are transmitting data, the processreturns to Step S107 and reception and storing of data are continued.

On the other hand, when in Step S108 the RFID module 32 determines thatit is detected that the state of the signal communicated through the SELline 43 is switched from L (Low) to H (High), the process proceeds toStep S109. In this state, since data-transmission from the host CPU 34is terminated, the RFID module 32 adds necessary information to the datastored in the memory section 33 and transmits the data to thereader/writer 11. Namely, as shown in FIG. 3D, the data 83 (the“Length”), the data 84 (a command code), and the data 85 (CRC) areappended to the data 81 transmitted from the host CPU 34, and thecommand response 82 is generated and transmitted to the reader/writer11.

The process from Step S106 through Step S109 is a process in which theabove-mentioned second patter is realized. In addition, the process inwhich Steps S101 to S109 are performed is a process in which theabove-mentioned third patter is performed. In addition, the process inwhich Steps S106 to S109 are performed and, after that, Steps S101 toS105 are performed is a process in which the above-mentioned fourthpatter is performed.

Process in Host CPU 34

Next, corresponding to the process in the RFID module 32 described withreference to the flowchart shown in FIG. 8, a process performed in thehost CPU 34 will be described with reference to a flowchart shown inFIG. 9.

At the start of the process in the host CPU 32, the host CPU 32 sets thestate of a signal communicated through the SEL line 43 to L (Low).

In Step S151, the host CPU 34 determines whether or not an IRQ signal(an interrupt signal) is received from the RFID module 32 through theIRQ line 44. When in Step S151 the IRQ signal is determined to bereceived, the process proceeds to Step S152. On the other hand, when theIRQ signal is not determined to be received, the process proceeds toStep S157.

In Step S152, the host CPU 34 starts supplying a clock signal throughthe CLK line 41 when the host CPU 34 is ready for receiving datatransmitted from the RFID module 32. If the clock signal is supplied tothe RFID module 32, data corresponding to “Length”, which is transmittedfrom the RFID module 32, is received in Step S153 in response to theclock signal. When the data corresponding to the “Length” is received,in Step S154 the host CPU starts counting the data length of thereceived data.

In Step S155, data transmitted from the RFID module 32 through the DATAline 42 is received. Every time the data is received, the data length ofthe received data is counted. Then, in Step S156, the host CPUdetermines whether or not the data length of the received data, that is,the counted data length is equal to or greater than data lengthindicated by the “Length”.

When in Step S156 the counted data length is determined to be smallerthan data length indicated by the “Length”, that is, the RFID module 32is transmitting data, the process returns to S155 and data reception iscontinued.

On the other hand, when in Step S156 the counted data length isdetermined to be equal to or greater than data length indicated by the“Length”, that is, data transmission from the RFID module 32 isterminated, the process proceeds to S157.

The process from Step S151 through Step S156 is a process in which theabove-mentioned first patter is realized.

In Step S157, the host CPU 34 determined whether or not data isscheduled to be transmitted to the RFID module 32. When in Step S157 itis determined that data is scheduled to be transmitted to the RFIDmodule 32, the process proceeds to Step S158. When it is determined thatdata is not scheduled to be transmitted to the RFID module 32, theprocess returns to Step S151 and the following process is repeated.

In Step S158, the host CPU 34 switches the state of the signalcommunicated through the SEL line 43 from H (high) to L (Low) so as tonotify the RFID module 32 that data is scheduled to be transmitted. Inthis way, the state of the signal communicated through the SEL line 43being switched, the state that the RFID module 32 can receive data isset. In addition to the state, when the host CPU 34 is ready fortransmitting data, the process proceeds to Step S159.

In Step S159, the host CPU 34 transmits data to the RFID module 32through the DATA line 42. In addition, when the clock signal is notsupplied to the RFID module 32 through the CLK line 41, supply of theclock signal starts before data transmission is performed.

In Step S160, the host CPU 34 determines whether or not datatransmission is terminated. When data transmission is not determined tobe terminated, the process returns to Step S159 and data transmission tothe RFID module 32 is continued. On the other hand, when in Step S160data transmission is determined to be terminated, the process proceedsto Step S161.

In Step S161, the host CPU 34 returns the state of the signalcommunicated through the SEL line 43 from L (Low) to H (High). In thisway, the state of the signal communicated through the SEL line 43 beingswitched, the RFID module 32 detects the termination of datatransmission and proceeds to a following process.

The process from Step S157 through Step S161 is a process in which theabove-mentioned second patter is realized. In addition, the process inwhich Steps S151 to S161 are performed is a process in which theabove-mentioned third patter is performed. In addition, the process inwhich Steps S157 to S161 are performed and, after that, Steps S151 toS156 are performed is a process in which the above-mentioned fourthpatter is performed.

Since data communication between the RFID module and the host CPU 34 isperformed in this way, the data length of data transmitted therebetweenis reduced. Therefore, a processing load relating to data transmissionis reduced.

In addition, since the data transmitted between the RFID module and thehost CPU 34 does not include a command, a function for generating oranalyzing the command may be unnecessary and the size of a circuit ormemory size may be reduced. Furthermore, since such a function may beunnecessary in communication between the RFID module and the host CPU34, no processing load may be necessary for analyzing the command.Therefore, overall processing load may be reduced and, as a result,power consumption may be reduced.

In addition, while, as an example, data communication between the RFIDmodule and the host CPU 34 is described in the above-mentionedembodiment, the application of the present invention is not restrictedto such a data communication. In other words, while, as an example ofcommunication system with a serial interface, RFID is described in theabove-mentioned embodiment, the present invention can be applied to acommunication system other than RFID.

Recording Medium

The above-mentioned series of process may be performed with hardware orsoftware. When the series of process is performed with software, aprogram including the software is installed to a computer. In this case,the computer represents a computer embedded in a dedicated hardware anda computer, such as a universal personal computer, capable of executingvarious kinds of functions by installing various kinds of programs.

FIG. 10 is a block diagram illustrating a hardware configuration exampleof a computer performing the above-mentioned series of process with aprogram.

In the computer, a CPU 101, a ROM (Read Only Memory) 102, and a RAM(Random Access Memory) 103 are connected with one another through a bus104. Furthermore, an input-output interface 105 is connected to the bus104. An input section 106, an output section 107, a memory section 108,a communication section 109, and a drive section 110 are connected tothe input-output interface 105.

The input section 106 includes a keyboard, a mouse, and a microphone.The output section 107 includes a display and a speaker. The memorysection 108 includes a hard disk drive and a nonvolatile memory. Thecommunication section 109 includes a network interface. The drivesection 110 drives a removable medium 111 such as a magnetic disk, anoptical disk, a magnet-optical disk, and a semiconductor memory.

In the computer with the above-mentioned configuration, the CPU 101loads a program, for example, stored in the memory section 108 into theRAM 103 through the input-output interface 105 and the bus 104 andperforms the above-mentioned series of process.

For example, a program executed by the computer (the CPU 101) may berecorded in the removable medium 111 as a package medium and beprovided. In addition, the program may be provided through a wire orwireless transmission medium such as local area network, internet, orDigital Satellite Broadcasting.

In the computer, by attaching the removable medium 111 to the drivesection 110, the program may be installed to the memory section 108through the input-output interface 105. In addition, the program may bereceived through a wire or wireless transmission medium and installed tothe memory section 108. Furthermore, the program may be installed to theROM 102 or the memory section 108 in advance.

Then, the program executed by the computer may be a program processed intemporal sequence along the order described in the specification, aprogram processed in parallel, or a program processed at necessarytiming when a program call is executed.

In addition, in the specification, a system represents a whole apparatusincluding a plurality of apparatuses.

The present application contains subject matter related to thatdisclosed in Japanese Priority Patent Application JP 2008-309577 filedin the Japan Patent Office on Dec. 4, 2008, the entire content of whichis hereby incorporated by reference.

It should be understood by those skilled in the art that variousmodifications, combinations, sub-combinations and alterations may occurdepending on design requirements and other factors insofar as they arewithin the scope of the appended claims or the equivalents thereof.

What is claimed is:
 1. An information-processing apparatus, comprising:a first line, included in a predetermined interface, for transmitting aninterrupt signal to a second apparatus, connected using the interface,when data is received from a first apparatus; a second line, included inthe interface, for receiving a clock signal from the second apparatus;and a third line, included in the interface, for transmitting orreceiving data to or from the second apparatus, and wherein the datafrom the first apparatus includes command data, the command data isanalyzed when the data from the first apparatus is received to determinewhether supply of second data of the data to the second apparatus, inwhich the second data is other than the command data, is necessary, andthe interrupt signal is transmitted to the second apparatus in responseto a result of analysis of the command data being the supply of thesecond data to the second apparatus is necessary.
 2. Theinformation-processing apparatus according to claim 1, wherein the datafrom the first apparatus includes, in the second data, data-length dataand main data, in which the data-length data indicates a data length ofthe main data to be transmitted to the second apparatus, and wherein themain data is transmitted to the second apparatus through the third lineafter the data-length data is transmitted to the second apparatus, insynchronization with the clock signal from the second apparatus.
 3. Theinformation-processing apparatus according to claim 1, furthercomprising; a fourth line, included in the interface, for receiving asignal from the second apparatus, the signal indicating whether data isto be transmitted to or received from the second apparatus, and whereinthe information-processing apparatus detects whether data is to betransmitted to the second apparatus or data transmission thereto isterminated based on a changeover in a state of the signal transmittedthrough the fourth line.
 4. An information-processing apparatus,comprising: a first line, included in a predetermined interface, fortransmitting an interrupt signal to a second apparatus, connected usingthe interface, when data is received from a first apparatus; a secondline, included in the interface, for receiving a clock signal from thesecond apparatus; and a third line, included in the interface, fortransmitting or receiving data to or from the second apparatus, andwherein the data from the first apparatus includes command data, thecommand data is analyzed when the data from the first apparatus isreceived, and the interrupt signal is transmitted to the secondapparatus in response to a result of analysis of the command data,wherein the data from the first apparatus includes data-length data andmain data, in which the data-length data indicates a data length of themain data to be transmitted to the second apparatus, and wherein, uponreceipt of the data-length data, the information-processing apparatusanalyzes the command data and (i) when the result of the analysisindicates that the main data should be supplied to the second apparatusthe information-processing apparatus supplies the data-length data andthe main data to the second apparatus and does not supply the commanddata to the second apparatus, and (ii) when the result of the analysisindicates that the main data should not be supplied to the secondapparatus the information-processing apparatus does not supply the maindata to the second apparatus.
 5. An information-processing apparatus,comprising: a communication unit configured to communicate with areader/writer; a module configured to control the communication unit; aprocessing unit configured to transmit and receive data to and from themodule; wherein the module comprises: a first line, included in apredetermined interface, for transmitting an interrupt signal to asecond apparatus, connected using the interface, when data is receivedfrom the reader/writer; a second line, included in the interface, forreceiving a clock signal from the processing unit; and a third line,included in the interface, for transmitting or receiving data to or fromthe processing unit; and wherein the data from the reader/writerincludes command data, the command data is analyzed when the data fromthe first apparatus is received to determine whether supply of seconddata of the data to the second apparatus, in which the second data isother than the command data, is necessary, and the interrupt signal istransmitted to the second apparatus in response to a result of analysisof the command data being the supply of the second data to the secondapparatus is necessary.
 6. An information processing method comprising:transmitting, through a first line included in a predeterminedinterface, an interrupt signal to a second apparatus, when data isreceived from a first apparatus; receiving, through a second lineincluded in the interface, a clock signal from the second apparatus; andtransmitting or receiving data to or from the second apparatus, througha third line included in the interface, wherein the data from the firstapparatus includes command data, the command data is analyzed when thedata from the first apparatus is received to determine whether supply ofsecond data of the data to the second apparatus, in which the seconddata is other than the command data, is necessary, and the interruptsignal is transmitted to the second apparatus in response to a result ofanalysis of the command data being the supply of the second data to thesecond apparatus is necessary.
 7. A non-transitory storage medium onwhich is recorded a computer readable program, the program comprising:transmitting, through a first line included in a predeterminedinterface, an interrupt signal to a second apparatus, when data isreceived from a first apparatus; receiving, through a second lineincluded in the interface, a clock signal from the second apparatus; andtransmitting or receiving data to or from the second apparatus, througha third line included in the interface, wherein the data from the firstapparatus includes a command, the command is analyzed when the data fromthe first apparatus is received to determine whether supply of seconddata of the data to the second apparatus, in which the second data isother than the command data, is necessary, and the interrupt signal istransmitted to the second apparatus in response to a result of analysisof the command being the supply of the second data to the secondapparatus is necessary.